package com.tech.cloudapp.po;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserAnswerResultParamPO extends SuperPO{

    @NotNull(message = "证书ID不能为空")
    private int classifyId;
    @NotNull(message = "题库ID不能为空")
    private int paperId;
    @NotNull(message = "用户ID不能为空")
    private String userId;


    @Data
    public static class UserAnswerResultPO
    {
       private int right;
       private int fail;
       private int total;
       private double taketime;
    }


    @Data
    public static class UserScoreSortResultPO
    {
        private Double score;
        private String nickName;
        private String mobilephone;
    }
}
